package com.example.bbgds.test.home.widget;

import android.content.Context;
import android.view.View;

import com.example.bbgds.test.R;

/**
 * Created by zjzhu on 2016/4/26.
 */
public class CameraAppItemInfo extends AppItemInfo {

    private CameraStatusIndicatorView mIndicatorView;

    public CameraAppItemInfo(Context context) {
        super(WidgetDataMapping.getThemeList().get(2), context.getString(R.string.appname_camera), R.drawable.ic_camera);
    }

    @Override
    public View getStatusIndicatorView(Context context) {
        if (mIndicatorView == null) {
            mIndicatorView = new CameraStatusIndicatorView(context);
        }
        return mIndicatorView;
    }
}
